package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.domain.db.UserInfo;
import com.itheima.vo.SimilarYouVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

//用户详情
public interface UserInfoMapper extends BaseMapper<UserInfo> {
    @Select("select id,avatar from tb_user_info where id in (#{userIdlist})")
    List<SimilarYouVo> selectByIds(@Param("userIdlist") List<Long> userIdlist);

}